package models.quiz
{
	import com.pamakids.utils.CloneUtil;

	import flash.geom.Rectangle;

	public class QuickspotQuizVO extends QuizVO
	{
		public function QuickspotQuizVO()
		{
			type=3;
		}

		public static function clone(obj:Object):QuickspotQuizVO
		{
			var vo:QuickspotQuizVO = new QuickspotQuizVO();

			vo.hotspots1=obj.hotspots1.map(function(item:*, index:int, array:Array):Rectangle{
				return new Rectangle(item.x,item.y,item.w,item.h);
			});

			vo.hotspots2=obj.hotspots2.map(function(item:*, index:int, array:Array):Rectangle{
				return new Rectangle(item.x,item.y,item.w,item.h);
			});

			vo.spotstype = obj.spotstype
			vo.snd=obj.snd;
			vo.rightSnd=obj.rightSnd;
			vo.wrongSndArr=obj.wrongSndArr;
			return vo;
		}

		public var hotspots1:Array;
		public var hotspots2:Array;
		public var spotstype:int;
	}
}

